<template>
<view class="header-fixed-box">
	<view class="header-fixed">
		<view class="icon-bank" @click="bankBtn"></view>
		{{title}}
	</view>
	<view class="header-fixed-margin"></view>
</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:'',
			},
			url:{
				type:String,
				default:''
			}
		},
		data(){
			return {
				
			}
		},
		methods: {
			bankBtn(){
				uni.navigateBack()
			}
		},
		created(){
			
		},
		mounted(){
			
		}
	}
</script>

<style scoped lang="scss">
	.header-fixed{
		position: fixed;
		top:0;
		left: 0;
		width: 100%;
		height: 100rpx;
		text-align: center;
		line-height: 100rpx;
		background-color: #FFFFFF;
		z-index: 100;
		padding-top: 50rpx;
		.icon-bank{
			transform: translateY(-69%) rotate(-45deg);
			border-top:1px solid #333;
			border-left:1px solid #333;
			width: 20rpx;
			height: 20rpx;
			position: absolute;
			left:30rpx;
			top:69%;
		}
	}
	.header-fixed-margin{
		height: 100rpx;
	}
</style>
